package LEKIEUANH.OOP.BTVN;

import java.util.Scanner;

public class CaculatorController {
public double CaculatorInfo(double a, double b, int opt){	
			double i = 0;
	if(opt == 0){
		i = a + b;
	}else if(opt == 1){
		i = a - b;
	}else if(opt == 2){
		i = a * b;
	}else if(opt == 3){
		i = a/b;
	}
	return i;
	
}
}
